package com.ns.school.po.edu;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter

public class BorrowBookDB {
    private Integer id;
    private Integer borrowId;
    private Integer bookId;
    private Integer sid;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date borrowDate;
    private Integer borrowCount;
    private String bookName;
    private String bookAuthor;
    private String bookCode;
    private String bookSite;
    private String sname;
    private Integer createBy;
    private Integer updateBy;
    private Date createDate;
    private Date updateDate;
    private String nickName;
    private Integer borrowState;
    private String reviewName;
    private Integer reviewId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reviewTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date revertTime;
    private Integer revertState;

    private Integer revertDay;

    private BigDecimal compenPrice;

    private Integer revertCount;

    private BigDecimal bookPrice;//图书价格

    public BorrowBookDB() {
    }


}
